<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>register</title>
    <style>
        form{
            margin: 200px auto;
            border: 1px solid #ccc;
            border-radius: 5px;
            width: 400px;
            height: 400px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-around;
        }
        input{
            margin-left: 20px;
        }
    </style>
</head>
<body>
    <form action="/user/register/" method="POST">
        {% csrf_token %}
        <h2>
            REGISTER
        </h2>
        <p>
            username:<input type="text" name="username">
        </p>
        <p>
            password:<input type="password" name="password">
        </p>
           <p>
            __password:<input type="password" name="password1">
        </p>
        <input style="min-width: 100px;height: 40px;border-radius: 5px;outline: 0;border: none" type="submit" value="提交注册">
    </form>
</body>
</html>